package com.example.util;

public enum ResultCode {
    SUCCESS(200,"请求成功"),
    ERROR(500,"请求失败");

    private Integer code;
    private String message;
    ResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
